<%@ page language="java" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<%
    String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>
<%@ include file="/inc.jsp" %>
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>闪耀先生-我的订单</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />    
    <!-- style -->
    <link href="${pageContext.request.contextPath }/vip/css/usercenter.css" rel="stylesheet">
  </head>
  <body>
<s:if test="order.single  == true ">
	<div class="block order">
      <div class="state">
       <s:date name="order.createTime" format="yyyy-MM-dd HH:ss" /><span>交易完成</span>
      </div><!--E .state-->
      <div class="orderinfo">
        <div class="picbox"><img src="<s:property value="order.brand_img" />"></div><!--E .picbox-->
        <div class="proinfo proinfo1">
          <h3>${order.brand }</h3>
          <div class="pri">价格：${order.price }元</div>
        </div><!--E .proinfo-->
      </div><!--E .orderinfo-->
    </div><!--E .order-->
</s:if> 
<s:else>
    <div class="block order">
      <div class="state">
         <s:date name="order.createTime" format="yyyy-MM-dd HH:ss" /> <span>交易完成</span>
      </div><!--E .state-->
      <div class="orderinfo" style="border-bottom:1px solid #ddd;padding-bottom:15px;">
        <h3 style="font-size:16px;margin-bottom:10px;">面料</h3>
        <div class="picbox"><img src="<s:property value="order.cloth_img" />"></div><!--E .picbox-->
        <div class="proinfo proinfo1">
          <h3>${order.brand }</h3>
          <div class="pri">价格：${order.price }</div>
        </div><!--E .proinfo-->
      </div><!--E .orderinfo-->
      <div class="orderinfo">
        <h3 style="font-size:16px;margin-bottom:10px;">款式</h3>
        <div class="picbox"><img src="<s:property value="order.stlye_img" />"></div><!--E .picbox-->
        <div class="proinfo proinfo1">
          <h3><s:property value="order.stlye" /></h3>
        </div><!--E .proinfo-->
      </div><!--E .orderinfo-->
    </div><!--E .order-->
</s:else> 
			
			
    

    <div class="block to">
     <h3 style="font-size:16px;margin-bottom:10px;">会员信息</h3>
      <p><span class="gray">姓名：</span>${order.name }</p>
      <p><span class="gray">手机号：</span>${order.phone }</p>
      <p><span class="gray">地址：</span>${order.address }</p> 
      
      	
			
     
    </div><!--E .order-->
  </body>
</html>